package com.xzq.socket.aio.server;

import com.xzq.socket.aio.ChannelInitializer;

import java.nio.ByteBuffer;
import java.nio.channels.AsynchronousSocketChannel;
import java.util.concurrent.TimeUnit;

/**
 * @Author xzq
 * @Description //TODO
 * @Date 2021/11/18 10:26
 * @Version 1.0.0
 **/
public class AioServerChannelInititalizer extends ChannelInitializer {
    @Override
    protected void initChannel(AsynchronousSocketChannel channel) throws Exception {
//        channel.read(ByteBuffer.allocate(1024),10, TimeUnit.SECONDS,null );
    }
}
